package com.cyz.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyz.entity.WorkScore;
import com.cyz.vo.ScoreDTO;
import com.cyz.vo.StudentWorkDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkScoreDao extends BaseMapper<WorkScore> {
    List<ScoreDTO> getInfo(@Param("account") String account);

    List<String> getCourseName(@Param("account") String account);


    List<StudentWorkDto> getCourseWork(@Param("account") String account, @Param("courseName") String courseName);
}
